<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			p span {
				margin: 50px;
			}
		</style>
	</head>

	<body>
		<script type="text/javascript">
			function randomArray(a) {
				for (var i = 0; i < 10; i++) {
					a[i] = parseInt(Math.random() * 100)
				}
			}

			function outArray(a) {
				var p = document.createElement("p");
				a.forEach(function(val, index) {
					var span = document.createElement("span");
					span.innerHTML = val;
					p.appendChild(span);
				});
				document.body.appendChild(p);
			}
			var a = [];
			randomArray(a);
			outArray(a);
			
			function outArray(a){
				var p=document.createElement("x");
				c.forEach(function(val.index){
					
				})
			}
			
		</script>

	</body>

</html>

